package com.goktech.mapper;

import com.goktech.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    public int insertUser(User u);
    public int deleteUser(User u);
    public int updateUser(User u);
    public User findByZhanghao(User u);
    public List<User> findByAll(@Param("begin") int begin, @Param("end") int end);
    public List<User> findLikeZhanghao(User u);
    public List<User> findLikeUserName(User u);
    public User findZhanghaoPassword(User u);

}
